package cn.sczc.jh.client.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

@TableName("sensor_history")
public class SensorHistory {
	
	@TableField(exist = false)
	private static final long serialVersionUID = 1L;
	
	@TableId(value = "oid", type = IdType.INPUT)
	private String oid;
	
	@TableField(value = "create_time")
	private Date createTime;
	
	@TableField(value = "is_upload")
	private Boolean isUpload;
	
	@TableField(value = "properties")
	private String properties;
	
	@TableField(value = "equ_no")
	private String equNo;//设备编号
	
	@TableField(value = "sensor_address")
	private String sensorAddress;//设备气体地址
	
	@TableField(exist = false)
	private String gasName;//气体名称
	
	@TableField(exist = false)
	private String batteryVoltage;//气体数值
	
	@TableField(exist = false)
	private String measurementUnit;//气体单位
	
	@TableField(exist = false)
	private String desc;//描述
	
	@TableField(exist = false)
	private String timeString;//字符串时间
	
	@TableField(exist = false)
	private Integer state;//显示字体颜色0正常，1红色，2黄色，3灰色
	
	@TableField(exist = false)
	private String gasConcentration;//气体数值
	
	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public String getTimeString() {
		return timeString;
	}

	public void setTimeString(String timeString) {
		this.timeString = timeString;
	}

	public String getGasName() {
		return gasName;
	}

	public void setGasName(String gasName) {
		this.gasName = gasName;
	}

	public String getBatteryVoltage() {
		return batteryVoltage;
	}

	public void setBatteryVoltage(String batteryVoltage) {
		this.batteryVoltage = batteryVoltage;
	}

	public String getMeasurementUnit() {
		return measurementUnit;
	}

	public void setMeasurementUnit(String measurementUnit) {
		this.measurementUnit = measurementUnit;
	}

	public String getDesc() {
		return desc;
	}

	public void setDesc(String desc) {
		this.desc = desc;
	}

	public String getOid() {
		return oid;
	}

	public void setOid(String oid) {
		this.oid = oid;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Boolean getIsUpload() {
		return isUpload;
	}

	public void setIsUpload(Boolean isUpload) {
		this.isUpload = isUpload;
	}

	public String getProperties() {
		return properties;
	}

	public void setProperties(String properties) {
		this.properties = properties;
	}

	public String getEquNo() {
		return equNo;
	}

	public void setEquNo(String equNo) {
		this.equNo = equNo;
	}

	public String getSensorAddress() {
		return sensorAddress;
	}

	public void setSensorAddress(String sensorAddress) {
		this.sensorAddress = sensorAddress;
	}

	public String getGasConcentration() {
		return gasConcentration;
	}

	public void setGasConcentration(String gasConcentration) {
		this.gasConcentration = gasConcentration;
	}
	
	

}
